Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve render async fragment utility #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yunusemredilber
Copy link
Member

Summary

Background

In the most recent revisions, #57, we enhanced our gateway queries. Although there is one public function—the "renderAsyncFragment" function—we use it for on-demand fragments. To further tune fragment queries, we added the option to specify an optional gateway name. However, this circumstance only happens if a page has two fragments with the same name. I, therefore, see a chance to streamline API by simply confirming the existence of the if attribute and its value.

@yunusemredilber yunusemredilber changed the title Improve render async fragment util Improve render async fragment utility Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant